import request from '@/router/axios';

//列表
export const getStageList = (current, size, params) => {
  return request({
    url: '/api/hg-public/taskbookphasestarget/page',
    method: 'get',
    params: {
      current,
      size,
      ...params
    }
  })
}

//获取详情
export const getStage = (id) => {
  return request({
    url: '/api/hg-public/taskbookphasestarget/detail',
    method: 'get',
    params: {
      id,
    }
  })
}
